<style tyle="text/css">
    .modal-lg {
        width: 50%;
    }
    .btn-style {
      width: 100px;
      margin-right: 10px;
    }
</style>
<div class="modal-header">
  <h4 class="modal-title">商户服务费标准设定</h4>
</div>
<div class="modal-body">
  <form name="form" class="form-horizontal ng-pristine ng-valid-required">
    <div class="form-group">
      <label class="col-lg-4 control-label">商户信息:</label>
      <div class="col-lg-5" ng-show="!update">
        <input type="text" class="form-control" ng-model="fromDate.company_code" placeholder="商户编号">
      </div>
      <label class="col-lg-5 control-label text-left" ng-show="update">
        {{fromDate.company_name}}({{fromDate.company_code}})
      </label>
    </div>
    <div class="form-group">
      <label class="col-lg-4 control-label">付款类型:</label>
      <div class="col-lg-5">
        <div class="btn-group">
          <label class="btn btn-info btn-style" ng-model="fromDate.order_service_charge_type" btn-radio="'1'">
            <i class="fa fa-check text-active"></i> 年付
          </label>
          <label class="btn btn-info btn-style" ng-model="fromDate.order_service_charge_type" btn-radio="'2'">
            <i class="fa fa-check text-active"></i> 单付
          </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-lg-4 control-label">服务费退还:</label>
      <div class="col-lg-5">
        <div class="btn-group">
          <label class="btn btn-info btn-style" ng-model="fromDate.back_servicefee" btn-radio="'1'">
            <i class="fa fa-check text-active"></i> 可退
          </label>
          <label class="btn btn-info btn-style" ng-model="fromDate.back_servicefee" btn-radio="'0'">
            <i class="fa fa-check text-active"></i> 不可退
          </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">上限金额(元):</div>
      <div class="col-lg-5">
        <input type="number" class="form-control" ng-model="fromDate.max_price">
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-4 control-label">每单服务费(元):</div>
      <div class="col-lg-5">
        <input type="number" class="form-control" ng-model="fromDate.order_fee">
      </div>
    </div>

  </form>

</div>
<div class="modal-footer">
  <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
  <button class="btn btn-danger" type="button" ng-click="cancel()">关闭</button>
</div>